#!/usr/bin/env python3
'''
Created on Jun 17, 2013

@author: Brieg
'''

class Plante():
    '''
    classdocs
    '''


    def __init__(self):
        '''
        Constructor
        '''
        self.variete = 1
        self.position=[0,0]
        self.statut = "morte"
        self.chronoVie = 0
        
    
        def pousser(self):   
            if self.statut == "vivante":
                pass
            else:
                self.chronoVie +=1
                if self.chronoVie == 4:
                    self.statut = "vivante"
                    
        def semer(self, var):
            self.variete = var
            self.statut = "pousse"
            
            
        def mourir(self):
            self.statut = "morte"
            
        def action(self):
            pass